#include "ImageProcessor.h"

#include <QThread>
#include <QDebug>
#include <pthread.h>
#include <sched.h>

class CameraThread : public QThread
{
    Q_OBJECT

public:
    explicit CameraThread(ImageProcessor *processor, QObject *parent = nullptr)
        : QThread(parent), processor_(processor) {}

protected:
    void run() override;
private:
    ImageProcessor *processor_;
};
